package com.xqboss.apps.dto.equipment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 装备属性模板列表
 *
 * @author Trent
 * @date 2023/8/17
 */
@Data
@ApiModel
public class EquipmentUpgradeTemplateDto {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("装备升级加点模版名称")
    @NotBlank(message = "模版名称不能为空")
    private String title;

   @ApiModelProperty("升级配置")
   @NotNull(message = "升级配置不能为空")
    private List<EquipmentUpgradeConfigDto> config;

}
